package com.artisan.web.action;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by yang on 2017/7/1.
 */
@Controller
@RequestMapping("/admin/reg/")
public class RegisterController {
    private static final Logger log = LogManager.getLogger(RegisterController.class);

    @RequestMapping("register")
    public ModelAndView register(HttpServletRequest request, HttpServletResponse response) {
        Map<String, Integer> result = new HashMap<>();
        return new ModelAndView("/registration", result);
    }


}
